package com.qf.ithub.movie_demo01.service;

import com.qf.ithub.movie_demo01.entity.dto.GrantDTO;
import com.qf.ithub.movie_demo01.entity.dto.MenuDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author : xixi
 * @Title :
 * @date :  2021-03-18 20:35
 */
public interface RrightService {

    List<MenuDTO> findMenuDTOByRoleid(Integer roleid);

    List<String> getActionCodesByRoleid(Integer roleid);

    List<MenuDTO> selectRightsByParentid();

    List<Integer> selectRightidsByRoleNoParent(Integer roleid);

    void grantMenu(GrantDTO dto);
}
